/***********************************************************
 
 File name: UIView+frame.h
 Author:    xxuwei
 Description:
 UIView的frame扩展
 
 History:
 2018/02/27: Created
 
 ************************************************************/

#import <UIKit/UIKit.h>

@interface UIView (frame)
/** 起点 */
@property (nonatomic, assign)CGPoint origin;
/** 大小 */
@property (nonatomic, assign)CGSize size;
/** 高度 */
@property (nonatomic, assign)CGFloat height;
/** 宽度 */
@property (nonatomic, assign)CGFloat width;
/** 顶部 */
@property (nonatomic, assign)CGFloat top;
/** 左部 */
@property (nonatomic, assign)CGFloat left;
/** 底部 */
@property (nonatomic, assign)CGFloat bottom;
/** 右部 */
@property (nonatomic, assign)CGFloat right;
/** x */
@property (nonatomic, assign)CGFloat x;
/** y */
@property (nonatomic, assign)CGFloat y;
/** 中心点的x */
@property (nonatomic, assign)CGFloat centerX;
/** 中心点的y */
@property (nonatomic, assign)CGFloat centerY;

@end
